﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Init {
    import flash.events.*;
    import Engine.Init.*;
    import Classes.*;

    public class SocialNetworkInit extends InitializationAction {

        public static const INIT_ID:String = "SocialNetworkInit";

        protected var m_skipSN:Boolean = false;

        public function SocialNetworkInit(_arg1:Boolean){
            super(INIT_ID);
            this.m_skipSN = _arg1;
            addDependency(GameSettingsInit.INIT_ID);
        }
        override public function execute():void{
            if (this.m_skipSN){
                Global.player = new Player(null);
                dispatchEvent(new Event(Event.COMPLETE));
            };
        }

    }
}//package Init 
